package com.andyyan.elasticsearch.client.def.model;


import java.io.Serializable;

/**
 * Created by yantingxin on 15-11-4.
 */
public class Highlight implements Serializable {

    private static final long serialVersionUID = -3516276206779615987L;
    private int startIndex;

    private int endIndex;

    public Highlight(int startIndex, int endIndex) {
        this.startIndex = startIndex;
        this.endIndex = endIndex;
    }

    public int getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(int startIndex) {
        this.startIndex = startIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public void setEndIndex(int endIndex) {
        this.endIndex = endIndex;
    }

}
